<template>
	<view>
		<OutHead>
		</OutHead>
		<ImportMsg>
		</ImportMsg>
		<HzMsg :hzObject="hzObject">
		</HzMsg>
		<MxMsg :mxObject='mxObject'>
		</MxMsg>
	</view>
</template>

<script>
	import OutHead from '@/components/outbound-body/out-head';
	import ImportMsg from '@/components/outbound-body/import-msg';
	import HzMsg from '@/components/outbound-body/hz-msg';
	import MxMsg from '@/components/outbound-body/mx-msg';
	import PdaScan from '@/components/pda/pda-sacn/pda-sacn';
	export default {
		name:"outbound-body",
		props:{
			objdata:'',
		},
		components: {
			
			OutHead,
			ImportMsg,
			HzMsg,
			MxMsg,
			PdaScan
		},
		created:function(){
			this.types=this.objdata.type;
			this.mxObject=this.objdata.mxObject
			this.hzObject.location=this.objdata.location
			console.log("中间层"+JSON.stringify(this.objdata))//打印父组件传过来的参数
			console.log("中间层"+JSON.stringify(this.mxObject))
		},
		data() {
			return {
				types:'',
				
				mxObject:{
					billno:'000',
					type:'0000',
					bao:'000'
				},
				hzObject:{
					location:'66666',
				}
			};
		}
	}
</script>

<style>

</style>